package com.sxj.corejava.code07_面向对象.继承;

/**
 * @author 石小俊
 * 2024年07月15日 15:47
 */
public class Test01 {

    public static void main(String[] args) {
        Man man = new Man();
        man.setName("admin");
        System.out.println(man.getName());
        man.setSalary(8000);
        man.work();

        WoMan woMan = new WoMan();
        woMan.setAppearance(90);
        woMan.show();

        Person person = new Person();
        person.getClass();
    }

}
